<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Winweal网站</title>
<link href="<?php echo CSS_PATH;?>css/bootstrap.css" rel="stylesheet">
<link href="<?php echo CSS_PATH;?>css/style.css" rel="stylesheet" type="text/css" />
</head>
<br/><br/>
<font color="red">
*contact类别管理是指在首页导航中contact的下拉框的内容，更新以id为准，分上传和更新2个模块。注：contact类别link是指下拉框内容的链接，这里的链接一般是本网站的，所以只要以"?m=caswee&c=自己填"的形式填写，m是指链接的模块caswee，c是指模块里的php文件，自己填入php文件的名字即可！*</font><br/><br/><br/><br/>
  <!--这是内容部分-->

        <div class="headtop">contact > contact <?php echo $action ?></div>
      
        <hr style=" height:4px; background:#F3C117; "/>
        </hr>
<table table class="table table-striped">

	 
    <thead>
    <tr>
	 <th>联系类别ID</th>
    <th>联系类别</th>
	<th>联系类别link</th>
	 <th>语言</th>
	<th>联系类别操作</th>
	
    </tr>
    </thead>
    <tbody>
	  <?php $n=1;if(is_array($infos12)) foreach($infos12 AS $info) { ?>
    <tr>
	 <td><?php echo $info['id'];?></td>
    <td><?php echo $info['class1'];?></td>
	<td><?php echo $info['link'];?></td>
		  <td><?php echo $info['lang'];?></td>
	<td><a href="index.php?m=caswee&c=contact&a=delete1&id=<?php echo $info['id'];?>">删除</a></td>
    </tr>
	
			    <?php $n++;}unset($n); ?>
    </tbody>

    </table>
	 <div class="pages"><?php echo $pages;?></div> 
	  <hr style=" height:4px; background:#F3C117; "/>
        </hr>
<div id ="up" style="margin-top:10px;">
        <form action="<?php echo APP_PATH;?>index.php?m=caswee&c=contact&a=la"  method="post"   enctype="multipart/form-data" ">
          <table border="1" bordercolor="#CCCCCC" cellspacing="1" class="fu_list_zzjs">
            <thead>
              <tr>
                <td colspan="4"><b>上传类别</b></td>
              </tr>
            </thead>
            <tbody>
              
             
              <tr><td>contact类别：</td><td><input type="text" name="class1"></td><td>contact类别link</td><td><input type="text" name="link"></td><td>语言</td><td><select name="class"><option name=1 value="en">英文</option><option name=2 value="cn"> 中文</option></select></td></tr>
              <tr>
			
              <tr>
                <td colspan="4" align="center" id="idMsg"><input type="submit" value="增加类别" id="idBtnupload"  name="dosubmit" />
                  <input type="reset" value="全部取消" id="idBtndel" name="reset"/></td>
              </tr>
            </tbody>
          </table>
        </form>
		</div>
		 <hr style=" height:4px; background:#F3C117; "/>
        
		<div id ="up" style="margin-top:10px;">
        <form action="<?php echo APP_PATH;?>index.php?m=caswee&c=contact&a=lb"  method="post"   enctype="multipart/form-data" ">
          <table border="1" bordercolor="#CCCCCC" cellspacing="1" class="table table-striped">
            <thead>
              <tr>
                <td colspan="6"><b>更新类别</b></td>
              </tr>
            </thead>
            <tbody>
              
             
              <tr><td>contact类别id：</td><td><input type="text" name="id"></td><td>contact类别：</td><td><input type="text" name="class1"></td><td>contact类别link</td><td><input type="text" name="link"></td></tr>
              <tr>
			
              <tr>
                <td colspan="6" align="center" id="idMsg"><input type="submit" value="更新类别" id="idBtnupload"  name="dosubmit" />
                  <input type="reset" value="全部取消" id="idBtndel" name="reset"/></td>
              </tr>
            </tbody>
          </table>
        </form>
		</div>
<script src="<?php echo JS_PATH;?>js/bootstrap.js"></script>
    
</body>
</html>